import Rules from './Rules';

const { COMMON_RULE, LENGTH_RULE } = Rules;

export const learnPathRule = {
  title: COMMON_RULE().concat(LENGTH_RULE(1, 100)),
  online: COMMON_RULE({ type: 'number' }),
  client: COMMON_RULE({ type: 'number' }),
};